package cn.kmsoft.jssc.entity.analyse;

public class AnalyseTaskParam extends TaskParam {
    // 分析方法，包括intersect、difference、spatialquery
    private String analystType;
    // 叠加分析的服务地址
    private String targetUrl;
    //表名Name
    private String tableName;

    public AnalyseTaskParam(String feaTypePoint) {
        //无参构造函数
        this.setFeaTypePoint(feaTypePoint);
    }

    public AnalyseTaskParam(TaskParam taskParam) {
        this.setDkbh(taskParam.getDkbh());
        this.setDkmj(taskParam.getDkmj());
        this.setJobId(taskParam.getJobId());
        this.setAnalysePoint(taskParam.getAnalysePoint());
        this.setTaskId(taskParam.getTaskId());
        this.setQuery(taskParam.getQuery());
        this.setFeaTypePoint(taskParam.getFeaTypePoint());
        this.setProcessName(taskParam.getProcessName());
    }

    public AnalyseTaskParam(TaskParam taskParam, String typepoint) {
        this.setDkbh(taskParam.getDkbh());
        this.setDkmj(taskParam.getDkmj());
        this.setJobId(taskParam.getJobId());
        this.setAnalysePoint(taskParam.getAnalysePoint());
        this.setTaskId(taskParam.getTaskId());
        this.setQuery(taskParam.getQuery());
        this.setFeaTypePoint(typepoint);
        this.setProcessName(taskParam.getProcessName());
    }

    public AnalyseTaskParam(TaskParam taskParam, String typepoint, String tableName) {
        this.setDkbh(taskParam.getDkbh());
        this.setDkmj(taskParam.getDkmj());
        this.setJobId(taskParam.getJobId());
        this.setTaskId(taskParam.getTaskId());
        this.setAnalysePoint(taskParam.getAnalysePoint());
        this.setQuery(taskParam.getQuery());
        this.setFeaTypePoint(typepoint);
        this.setProcessName(taskParam.getProcessName());

        this.tableName = tableName;
    }

    public String getAnalystType() {
        return analystType;
    }
    public void setAnalystType(String analystType) {
        this.analystType = analystType;
    }

    public String getTargetUrl() {
        return targetUrl;
    }
    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    public String getTableName() {
        return tableName;
    }
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }


}

